package com.coco.group.service;

/**
 * @author minicoco
 * @version 1.0
 * @date 2021/7/30 14:14
 */
public interface GroupBuyService {

    /**
     * 发起拼团
     * @param itemId skuId
     * @param uid 哟用户id
     * @return
     */
    String startGroupBuy(Long itemId, Long uid);

    /**
     * 拼团商品添加redis
     */
    void addGroupGoodsToRedis();

    String joinGroup(String code, Long uid) throws Exception;

}
